package com.ruoyi.statisticalCenter.mapper;

import java.util.List;

import com.ruoyi.statisticalCenter.domain.ScAssetsAndLiabilities;
import com.ruoyi.statisticalCenter.domain.vo.ScAssetsAndLiabilitiesVo;

/**
 * 资产负债Mapper接口
 *
 * @author ruoyi
 * @date 2024-03-16
 */
public interface ScAssetsAndLiabilitiesMapper
{
    /**
     * 查询资产负债
     *
     * @param id 资产负债主键
     * @return 资产负债
     */
    public ScAssetsAndLiabilities selectScAssetsAndLiabilitiesById(Long id);

    /**
     * 查询资产负债列表
     *
     * @param scAssetsAndLiabilities 资产负债
     * @return 资产负债集合
     */
    public List<ScAssetsAndLiabilities> selectScAssetsAndLiabilitiesList(ScAssetsAndLiabilitiesVo scAssetsAndLiabilities);

    /**
     * 新增资产负债
     *
     * @param scAssetsAndLiabilities 资产负债
     * @return 结果
     */
    public int insertScAssetsAndLiabilities(ScAssetsAndLiabilities scAssetsAndLiabilities);

    /**
     * 修改资产负债
     *
     * @param scAssetsAndLiabilities 资产负债
     * @return 结果
     */
    public int updateScAssetsAndLiabilities(ScAssetsAndLiabilities scAssetsAndLiabilities);

    /**
     * 删除资产负债
     *
     * @param id 资产负债主键
     * @return 结果
     */
    public int deleteScAssetsAndLiabilitiesById(Long id);

    /**
     * 批量删除资产负债
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteScAssetsAndLiabilitiesByIds(String[] ids);
}
